const chatModel = require("../model/chat")
// const axios = require("axios")
class Unit {
    static async getToken(ctx) {
        let { msg } = ctx.query
        let res = await chatModel.getRobotMsg(msg)



        ctx.body = {
            code:200,
            codeInfo:"成功",
            data:res[0]
        }
    }
}
module.exports = Unit

